package net.oschina.dajiangnan.wx.process.pay.xmlbean;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("xml")
public class UnifiedorderReq extends XmlBean{

    //https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=9_1
    
    
    /**
     * <xml>
    <appid>wx2421b1c4370ec43b</appid>
    <attach>支付测试</attach>
    <body>JSAPI支付测试</body>
    <mch_id>10000100</mch_id>
    <nonce_str>1add1a30ac87aa2db72f57a2375d8fec</nonce_str>
    <notify_url>http://wxpay.weixin.qq.com/pub_v2/pay/notify.v2.php</notify_url>
    <openid>oUpF8uMuAJO_M2pxb1Q9zNjWeS6o</openid>
    <out_trade_no>1415659990</out_trade_no>
    <spbill_create_ip>14.23.150.211</spbill_create_ip>
    <total_fee>1</total_fee>
    <trade_type>JSAPI</trade_type>
    <sign>0CB01533B8C1EF103065174F50BCA001</sign>
 </xml>
     */
    
    
    
    @XStreamAlias("appid")
    private String appid;
    
    @XStreamAlias("attach")
    private String attach;
    
    @XStreamAlias("body")
    private String body;

    @XStreamAlias("detail")
    private String detail;
    
    @XStreamAlias("device_info")
    private String device_info;

    @XStreamAlias("fee_type")
    private String fee_type;
    
    @XStreamAlias("goods_tag")
    private String goods_tag;
    
    @XStreamAlias("limit_pay")
    private String limit_pay;
    
    @XStreamAlias("mch_id")
    private String mch_id;
    
    @XStreamAlias("nonce_str")
    private String nonce_str;
    
    @XStreamAlias("notify_url")
    private String notify_url;
    
    @XStreamAlias("openid")
    private String openid;
    
    @XStreamAlias("out_trade_no")
    private String out_trade_no;
    
    @XStreamAlias("product_id")
    private String product_id;
    
    @XStreamAlias("spbill_create_ip")
    private String spbill_create_ip;
    

    @XStreamAlias("time_expire")
    private String time_expire;
    
    @XStreamAlias("time_start")
    private String time_start;
    
    @XStreamAlias("total_fee")
    private int total_fee;
    
    @XStreamAlias("trade_type")
    private String trade_type;
    
    
    
    
    
    
    
    public String getAppid() {
        return appid;
    }

    
    public void setAppid(String appid) {
        this.appid = appid;
    }

    
    public String getMch_id() {
        return mch_id;
    }

    
    public void setMch_id(String mch_id) {
        this.mch_id = mch_id;
    }

    
    public String getDevice_info() {
        return device_info;
    }

    
    public void setDevice_info(String device_info) {
        this.device_info = device_info;
    }

    
    public String getNonce_str() {
        return nonce_str;
    }

    
    public void setNonce_str(String nonce_str) {
        this.nonce_str = nonce_str;
    }


    
    public String getBody() {
        return body;
    }

    
    public void setBody(String body) {
        this.body = body;
    }

    
    public String getDetail() {
        return detail;
    }

    
    public void setDetail(String detail) {
        this.detail = detail;
    }

    
    public String getAttach() {
        return attach;
    }

    
    public void setAttach(String attach) {
        this.attach = attach;
    }

    
    public String getOut_trade_no() {
        return out_trade_no;
    }

    
    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    
    public String getFee_type() {
        return fee_type;
    }

    
    public void setFee_type(String fee_type) {
        this.fee_type = fee_type;
    }

    
    public int getTotal_fee() {
        return total_fee;
    }

    
    public void setTotal_fee(int total_fee) {
        this.total_fee = total_fee;
    }

    
    public String getSpbill_create_ip() {
        return spbill_create_ip;
    }

    
    public void setSpbill_create_ip(String spbill_create_ip) {
        this.spbill_create_ip = spbill_create_ip;
    }

    
    public String getTime_start() {
        return time_start;
    }

    
    public void setTime_start(String time_start) {
        this.time_start = time_start;
    }

    
    public String getTime_expire() {
        return time_expire;
    }

    
    public void setTime_expire(String time_expire) {
        this.time_expire = time_expire;
    }

    
    public String getGoods_tag() {
        return goods_tag;
    }

    
    public void setGoods_tag(String goods_tag) {
        this.goods_tag = goods_tag;
    }

    
    public String getNotify_url() {
        return notify_url;
    }

    
    public void setNotify_url(String notify_url) {
        this.notify_url = notify_url;
    }

    
    public String getTrade_type() {
        return trade_type;
    }

    
    public void setTrade_type(String trade_type) {
        this.trade_type = trade_type;
    }

    
    public String getProduct_id() {
        return product_id;
    }

    
    public void setProduct_id(String product_id) {
        this.product_id = product_id;
    }

    
    public String getLimit_pay() {
        return limit_pay;
    }

    
    public void setLimit_pay(String limit_pay) {
        this.limit_pay = limit_pay;
    }

    
    public String getOpenid() {
        return openid;
    }

    
    public void setOpenid(String openid) {
        this.openid = openid;
    }
    
    
    
    
    
    
    
    
}
